<template>
  <div>
    <h2>User</h2>
    store.globalCount:{{ store.globalCount }}
    <button @click="store.incrementGlobalCount()">+</button>

    <h3>localCount</h3>
    store.localCount:{{ store.localCount }}
    <button @click="store.incrementLocalCount()">+</button>
  </div>
</template>
<script setup>
import { useCount } from '../store.js'
const store = useCount();

// const x = ref(10)
</script>
